package com.dji.sample.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yjt
 * @date 2022-10-17
 * @description:
 */
@TableName("live_info")
public class LiveInfoEntity implements Serializable {

    private static final long serialVersionUID = 3891616981213107079L;
    @TableId(value = "id", type = IdType.AUTO)
    public Long id;
    /**
     * roomId
     */
    private String roomId;
    /**
     * 节点IP
     */
    private String ip;
    /**
     *运行目录
     */
    private String cwd;
    /**
     *视频存储路径
     */
    private String filePath;

    /**
     *视频存储IP
     */
    private String fileIp;
    /**
     *流名称
     */
    private String stream;
    /**
     *携带参数
     */
    private String param;
    /**
     *直播路径
     */
    private String streamUrl;
    /**
     *回放服务器ip,多个 ，号分隔
     */
    private String replyIp;
    /**
     *回放服务运行目录
     */
    private String replyCwd;
    /**
     *回放服务视频存储路径
     */
    private String replyFilePath;
    /**
     *m3u8存储路径
     */
    private String m3u8Path;
    /**
     *m3u8播放路径
     */
    private String m3u8Url;
    /**
     *总时长 秒
     */
    private String totalDuration;

    private String audioUrl;

    private String audioFilePath;

    private String audioIp;

    private Date createTime;

    private Date endTime;

    private Date updateTime;

    @TableField(exist = false)
    private String tcUrl;

    //状态 0.永不删除 1.七天后删除 2.已删除
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTcUrl() {
        return tcUrl;
    }

    public void setTcUrl(String tcUrl) {
        this.tcUrl = tcUrl;
    }

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getAudioFilePath() {
        return audioFilePath;
    }

    public void setAudioFilePath(String audioFilePath) {
        this.audioFilePath = audioFilePath;
    }

    public String getAudioIp() {
        return audioIp;
    }

    public void setAudioIp(String audioIp) {
        this.audioIp = audioIp;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCwd() {
        return cwd;
    }

    public void setCwd(String cwd) {
        this.cwd = cwd;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getStreamUrl() {
        return streamUrl;
    }

    public void setStreamUrl(String streamUrl) {
        this.streamUrl = streamUrl;
    }

    public String getReplyIp() {
        return replyIp;
    }

    public void setReplyIp(String replyIp) {
        this.replyIp = replyIp;
    }

    public String getReplyCwd() {
        return replyCwd;
    }

    public void setReplyCwd(String replyCwd) {
        this.replyCwd = replyCwd;
    }

    public String getReplyFilePath() {
        return replyFilePath;
    }

    public void setReplyFilePath(String replyFilePath) {
        this.replyFilePath = replyFilePath;
    }

    public String getM3u8Path() {
        return m3u8Path;
    }

    public void setM3u8Path(String m3u8Path) {
        this.m3u8Path = m3u8Path;
    }

    public String getM3u8Url() {
        return m3u8Url;
    }

    public void setM3u8Url(String m3u8Url) {
        this.m3u8Url = m3u8Url;
    }

    public String getTotalDuration() {
        return totalDuration;
    }

    public void setTotalDuration(String totalDuration) {
        this.totalDuration = totalDuration;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getFileIp() {
        return fileIp;
    }

    public void setFileIp(String fileIp) {
        this.fileIp = fileIp;
    }
}
